package com.TexasHoldem.ServerData;

import java.util.concurrent.atomic.AtomicLong;

/**
 * @author su
 * 玩家数据统计
 */
public class PokerPlayerStatistics
{
	// 玩家ID
	public Long Id;
	// 翻牌前统计
	public AtomicLong PreFlop = new AtomicLong();
	// 翻牌后统计
	public AtomicLong Flop= new AtomicLong();
	// 翻牌前赢统计
	public AtomicLong PreFlopWin = new AtomicLong();
	// 翻牌前输统计
	public AtomicLong PreFlopLost = new AtomicLong();
	// 翻牌后赢统计
	public AtomicLong FlopWin = new AtomicLong();
	// 翻牌后输统计
	public AtomicLong FlopLost = new AtomicLong();
	// 赢钱总额
	public AtomicLong WinCash = new AtomicLong();
	// 输球总额
	public AtomicLong LostCash = new AtomicLong();
	// 每日赢取总额
	public AtomicLong Everyday_WinCash = new AtomicLong();
	// 每日输球总额
	public AtomicLong Everyday_LostCash = new AtomicLong();
	// 每天赢牌次数
	public AtomicLong Everyday_win = new AtomicLong();
	// 翻牌前全下总次数
	public AtomicLong PreFlopAllIn = new AtomicLong();
	// 翻牌后全下总次数
	public AtomicLong FlopAllIn = new AtomicLong();
	//翻牌前盖牌次数
	public AtomicLong PreFlop_Flod = new AtomicLong();
	//翻牌后盖牌次数
	public AtomicLong Flop_Flod = new AtomicLong();
	// 翻牌前下注次数
	public AtomicLong PreFlopBet = new AtomicLong();
	// 翻牌后下注次数
	public AtomicLong FlopBet = new AtomicLong();
	// 重新买入次数
	public AtomicLong ReBuy = new AtomicLong();
	// 登录时间
	public AtomicLong LoginTime = new AtomicLong();
	// 登出时间
	public AtomicLong LoginOutTime = new AtomicLong();
	// 活跃时间
	public AtomicLong ActiveTime = new AtomicLong();
	// 在线时间
	public AtomicLong OnlineTime = new AtomicLong();
	
	
	
	
	public AtomicLong getEveryday_win()
	{
		return Everyday_win;
	}
	public AtomicLong getLoginTime()
	{
		return LoginTime;
	}
	public AtomicLong getLoginOutTime()
	{
		return LoginOutTime;
	}
	public AtomicLong getActiveTime()
	{
		return ActiveTime;
	}
	public AtomicLong getOnlineTime()
	{
		return OnlineTime;
	}
	public AtomicLong getReBuy()
	{
		return ReBuy;
	}
	public AtomicLong getPreFlopWin()
	{
		return PreFlopWin;
	}
	public AtomicLong getPreFlopLost()
	{
		return PreFlopLost;
	}
	public Long getId()
	{
		return Id;
	}
	public AtomicLong getPreFlop()
	{
		return PreFlop;
	}
	public AtomicLong getFlop()
	{
		return Flop;
	}
	public AtomicLong getFlopWin()
	{
		return FlopWin;
	}
	public AtomicLong getFlopLost()
	{
		return FlopLost;
	}
	public AtomicLong getWinCash()
	{
		return WinCash;
	}
	public AtomicLong getLostCash()
	{
		return LostCash;
	}
	public AtomicLong getEveryday_WinCash()
	{
		return Everyday_WinCash;
	}
	public AtomicLong getEveryday_LostCash()
	{
		return Everyday_LostCash;
	}
	public AtomicLong getPreFlopAllIn()
	{
		return PreFlopAllIn;
	}
	public AtomicLong getFlopAllIn()
	{
		return FlopAllIn;
	}
	public AtomicLong getPreFlop_Flod()
	{
		return PreFlop_Flod;
	}
	public AtomicLong getFlop_Flod()
	{
		return Flop_Flod;
	}
	public AtomicLong getPreFlopBet()
	{
		return PreFlopBet;
	}
	public AtomicLong getFlopBet()
	{
		return FlopBet;
	}
	
	public String toString()
	{
		StringBuilder sum = new StringBuilder();
		
		
		sum.append("PreFlop:");
		sum.append(this.PreFlop);
		sum.append(",");
		sum.append("Flop:");
		sum.append(this.Flop);
		sum.append(",");
		sum.append("PreFlopWin:");
		sum.append(this.PreFlopWin);
		sum.append(",");
		sum.append("PreFlopLost:");
		sum.append(this.PreFlopLost);
		sum.append(",");
		sum.append("FlopWin:");
		sum.append(this.FlopWin);
		sum.append(",");
		sum.append("FlopLost:");
		sum.append(this.FlopLost);
		sum.append(",");
		sum.append("WinCash:");
		sum.append(this.WinCash);
		sum.append(",");
		sum.append("LostCash:");
		sum.append(this.LostCash);
		sum.append(",");
		sum.append("Everyday_WinCash:");
		sum.append(this.Everyday_WinCash);
		sum.append(",");
		sum.append("Everyday_LostCash:");
		sum.append(this.Everyday_LostCash);
		sum.append(",");
		sum.append("FlopAllIn:");
		sum.append(this.FlopAllIn);
		sum.append(",");
		sum.append("PreFlop_Flod:");
		sum.append(this.PreFlop_Flod);
		sum.append(",");
		sum.append("Flop_Flod:");
		sum.append(this.Flop_Flod);
		sum.append(",");
		sum.append("PreFlopBet:");
		sum.append(this.PreFlopBet);
		sum.append(",");
		sum.append("FlopBet:");
		sum.append(this.FlopBet);
		sum.append(",");
		sum.append("ReBuy:");
		sum.append(this.ReBuy);
		sum.append(",");
		sum.append("OnLineTime:");
		sum.append(this.ActiveTime.get() - this.LoginTime.get());
		return sum.toString();

		
	}
	
	
	
}
